package com.atmilan.quartz.model.dto.buyer;

import java.util.Date;

import lombok.Data;

@Data
public class MerchantSupplierDTO {

    private Long supplierRelationId;

    /** 供应商电话 */
    private String supplierPhone;
    /** 供应商类型 */
    private Integer supplierType; //0 商户

    private String supplierTypeName;

    private String deliverType;

    private Long parentMerchantId;

    //供应商名称
    private String supplierName;

    private String contactName;

    private String contactPhoneNumber;

    private String deliverAddress;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column t_merchant_supplier.id
     *
     * @mbggenerated
     */
    private Long id;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column t_merchant_supplier.merchant_id
     *
     * @mbggenerated
     */
    private String merchantId;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column t_merchant_supplier.supplier_id
     *
     * @mbggenerated
     */
    private Long supplierId;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column t_merchant_supplier.state
     *
     * @mbggenerated
     */
    private Boolean state;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column t_merchant_supplier.update_time
     *
     * @mbggenerated
     */
    private Date updateTime;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column t_merchant_supplier.create_time
     *
     * @mbggenerated
     */
    private Date createTime;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column t_merchant_supplier.creator
     *
     * @mbggenerated
     */
    private String creator;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column t_merchant_supplier.editor
     *
     * @mbggenerated
     */
    private String editor;

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table t_merchant_supplier
     *
     * @mbggenerated
     */
    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", merchantId=").append(merchantId);
        sb.append(", supplierId=").append(supplierId);
        sb.append(", state=").append(state);
        sb.append(", updateTime=").append(updateTime);
        sb.append(", createTime=").append(createTime);
        sb.append(", creator=").append(creator);
        sb.append(", editor=").append(editor);
        sb.append("]");
        return sb.toString();
    }
}
